<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
</head>
<body>
<div th:if= "${error}" th:text="${error}"></div>
<form action="/login" method="post" >
    账号：<input type="text" name="name" >
    密码：<input type="password" name="password">
    <input type="submit" value="登录">
</form>
</body>
</html>